There is a known "xm console" issue related with VMX. When "serial" is
authorjrb44@plym.cl.cam.ac.uk <jrb44@plym.cl.cam.ac.uk>
Thu, 2 Feb 2006 18:15:22 +0000 (19:15 +0100)
committerjrb44@plym.cl.cam.ac.uk <jrb44@plym.cl.cam.ac.uk>
Thu, 2 Feb 2006 18:15:22 +0000 (19:15 +0100)
commite1aded64c50200c03c296f65867aad6355ad62c3
treeb0b9f8e30378728d5a11bb54537910d00beda611
parentd0b7c7a50917dca44b4a236434e9f453a0a93d35
There is a known "xm console" issue related with VMX. When "serial" is
enabled in script and no once uses "xm console" to read the console,
VMX boting will hang due to the buffer is full.
I added a "select" before "write". If it could not be written,
unix_write will Return immediately and it will not block the VMX
booting. With this fix, we can  make VMX's serial enable by default.

Signed-off-by: Yu Ping <ping.y.yu@intel.com>
Modified to patch xmexample.hvm. Put through xenrt on a VMX box.

Signed-off-by: James Bulpin <james@xensource.com>
tools/examples/xmexample.hvm
tools/ioemu/vl.c